#ifndef GRAPHMODELSLIST_H
#define GRAPHMODELSLIST_H

#include <QString>
#include <QStringList>
#include <QDebug>
#include <QList>
#include <QMessageBox>
#include <graphmodel.h>

class GraphModelsList
{
    QList<GraphModel> GraphsList;
    int graphNum;

    bool CheckCorrectStrList(QStringList numList);
    bool CheckCorrectNumCount(QStringList numList);

public:
    GraphModelsList();
    ~GraphModelsList();

    bool addGraphsToList(QString textEditData);
    GraphModel getGraphModel();
    void increaseGraphNum();
    void decreaseGraphNum();
    int getGraphNum();
    int size();
    bool isEmpty();
};

#endif // GRAPHMODELSLIST_H
